// 生产环境
const base = require('./webpack.base');
const { merge } = require('webpack-merge');
const CopyWebpackPlugin = require("copy-webpack-plugin")
const proConfig = {
    mode: 'production',
    devtool: 'eval-cheap-module-source-map',
    plugins:[
        new CopyWebpackPlugin({
            patterns:[{ from: 'public/**', to: '' }]
          }),
          
    ]
}
module.exports = merge( base,proConfig)

